package com.usian.apis.admin;

import com.usian.model.admin.dtos.SensitiveDto;
import com.usian.model.admin.pojos.AdSensitive;
import com.usian.model.common.dtos.ResponseResult;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;

@Api(value = "敏感词管理",tags = "AdSensitiveControllerApi",description = "敏感词管理")
public interface AdSensitiveControllerApi {

    // 查询
    @ApiOperation("查询敏感词信息")
    public ResponseResult findBySearch(SensitiveDto dto);

    // 修改
    @ApiOperation("修改敏感词信息")
    public ResponseResult updateById(Integer id, AdSensitive adSensitive);

    // 删除
    @ApiOperation("删除敏感词信息")
    public ResponseResult deleteById(Integer id);

    // 批量删除
    @ApiOperation("批量删除频道信息")
    public ResponseResult deleteByIds(Integer[] ids);

    // 添加
    @ApiOperation("添加频道信息")
    public ResponseResult saveSensitive(AdSensitive adSensitive);

    // 回显
    @ApiOperation("查询单个频道信息")
    public ResponseResult findById(Integer id);

}
